package com.softtek.base.domain;

import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;

/**
 * Created by li.chen on 8/19/2015.
 */
@Entity
@Table(name = "base_question_two")
@GenericGenerator(name = "BASE_QUESTION_TWO_GEN", strategy = "enhanced-table",
        parameters = {
                @org.hibernate.annotations.Parameter(name = "table_name", value = "table_generator"),
                @org.hibernate.annotations.Parameter(name = "segment_column_name", value = "segment_name"),
                @org.hibernate.annotations.Parameter(name = "segment_value", value = "question_two_id"),
                @org.hibernate.annotations.Parameter(name = "value_column_name", value = "next"),
                @org.hibernate.annotations.Parameter(name = "initial_value", value = "1000"),
                @org.hibernate.annotations.Parameter(name = "increment_size", value = "10"),
                @org.hibernate.annotations.Parameter(name = "optimizer", value = "pooled-lo")
        }
)
public class QuestionTwo {

    private Long questionTwoId;

    /**
     * Q2答案
     */
    private String questionTwoAnswer;

    /**
     * Q2的类型
     */
    private String questionTwoTypeA;

    /**
     * 对应的数量
     */
    private String questionTwoNumA;

    /**
     * Q2的类型
     */
    private String questionTwoTypeB;

    /**
     * 对应的数量
     */
    private String questionTwoNumB;

    /**
     * Q2的类型
     */
    private String questionTwoTypeC;

    /**
     * 对应的数量
     */
    private String questionTwoNumC;

    /**
     * Q2的类型
     */
    private String questionTwoTypeD;

    /**
     * 对应的数量
     */
    private String questionTwoNumD;

    /**
     * Q2的类型
     */
    private String questionTwoTypeE;

    /**
     * 对应的数量
     */
    private String questionTwoNumE;

    /**
     * Q2的类型
     */
    private String questionTwoTypeG;

    /**
     * 对应的数量
     */
    private String questionTwoNumG;

    /**
     * Q2的图片A
     */
    private String questionTwoImageUrlA;

    /**
     * Q2的图片A
     */
    private String questionTwoImageUrlA2;

    /**
     * Q2的图片A
     */
    private String questionTwoImageUrlA3;

    /**
     * Q2的图片B
     */
    private String questionTwoImageUrlB;

    /**
     * Q2的图片B
     */
    private String questionTwoImageUrlB2;

    /**
     * Q2的图片B
     */
    private String questionTwoImageUrlB3;

    /**
     * Q2的图片C
     */
    private String questionTwoImageUrlC;

    /**
     * Q2的图片C
     */
    private String questionTwoImageUrlC2;

    /**
     * Q2的图片C
     */
    private String questionTwoImageUrlC3;

    /**
     * Q2的图片D
     */
    private String questionTwoImageUrlD;

    /**
     * Q2的图片D
     */
    private String questionTwoImageUrlD2;

    /**
     * Q2的图片D
     */
    private String questionTwoImageUrlD3;

    /**
     * Q2的图片E
     */
    private String questionTwoImageUrlE;

    /**
     * Q2的图片E
     */
    private String questionTwoImageUrlE2;

    /**
     * Q2的图片E
     */
    private String questionTwoImageUrlE3;

    /**
     * Q2的图片G
     */
    private String questionTwoImageUrlG;

    /**
     * Q2的图片G
     */
    private String questionTwoImageUrlG2;

    /**
     * Q2的图片G
     */
    private String questionTwoImageUrlG3;

    /**
     * Q10问题答案图片
     */
    private String questionTenAnswerImageUrl;

    /**
     * Q10问题答案图片
     */
    private String questionTenAnswerImageUrl2;

    /**
     * Q10问题答案图片
     */
    private String questionTenAnswerImageUrl3;

    /**
     * Q11问题答案图片
     */
    private String questionElevenAnswerImageUrl;


    /**
     * Q11问题答案图片
     */
    private String questionElevenAnswerImageUrl2;

    /**
     * Q11问题答案图片
     */
    private String questionElevenAnswerImageUrl3;

    /**
     * Q10问题答案
     */
    private String questionTenAnswer;

    /**
     * Q11问题答案
     */
    private String questionElevenAnswer;

    /**
     * Q4 1问题答案
     */
    private String questionFourOneAnswer;

    /**
     * Q4 1 图片
     */
    private String questionFourOnePicture;
    private String questionFourOnePicture2;
    private String questionFourOnePicture3;
    private String questionFourOnePicture4;

    /**
     * Q4 1对应的a答案
     */
    private String questionFourOneAnswerA;

    private String questionFourOneAnswerANum;

    /**
     * Q4 1对应的b答案
     */
    private String questionFourOneAnswerB;

    private String questionFourOneAnswerBNum;

    /**
     * Q4 1对应的c答案
     */
    private String questionFourOneAnswerC;

    /**
     * Q4 1对应的b答案
     */
    private String questionFourOneAnswerD;

    /**
     * 有效门店
     */
    private String canUserDepartmentAnswer;
    private String canUserDepartmentInfo;

    private String canUserDepartmentImage1;
    private String canUserDepartmentImage2;

    private DepartmentInfo departmentInfo;

    @Id
    @GeneratedValue(generator = "BASE_QUESTION_TWO_GEN")
    @Column(name = "question_two_id")
    public Long getQuestionTwoId() {
        return questionTwoId;
    }

    public void setQuestionTwoId(Long questionTwoId) {
        this.questionTwoId = questionTwoId;
    }

    public String getQuestionTwoAnswer() {
        return questionTwoAnswer;
    }

    public void setQuestionTwoAnswer(String questionTwoAnswer) {
        this.questionTwoAnswer = questionTwoAnswer;
    }

    public String getQuestionTwoTypeA() {
        return questionTwoTypeA;
    }

    public void setQuestionTwoTypeA(String questionTwoTypeA) {
        this.questionTwoTypeA = questionTwoTypeA;
    }

    public String getQuestionTwoNumA() {
        return questionTwoNumA;
    }

    public void setQuestionTwoNumA(String questionTwoNumA) {
        this.questionTwoNumA = questionTwoNumA;
    }

    public String getQuestionTwoTypeB() {
        return questionTwoTypeB;
    }

    public void setQuestionTwoTypeB(String questionTwoTypeB) {
        this.questionTwoTypeB = questionTwoTypeB;
    }

    public String getQuestionTwoNumB() {
        return questionTwoNumB;
    }

    public void setQuestionTwoNumB(String questionTwoNumB) {
        this.questionTwoNumB = questionTwoNumB;
    }

    public String getQuestionTwoTypeC() {
        return questionTwoTypeC;
    }

    public void setQuestionTwoTypeC(String questionTwoTypeC) {
        this.questionTwoTypeC = questionTwoTypeC;
    }

    public String getQuestionTwoNumC() {
        return questionTwoNumC;
    }

    public void setQuestionTwoNumC(String questionTwoNumC) {
        this.questionTwoNumC = questionTwoNumC;
    }

    public String getQuestionTwoTypeD() {
        return questionTwoTypeD;
    }

    public void setQuestionTwoTypeD(String questionTwoTypeD) {
        this.questionTwoTypeD = questionTwoTypeD;
    }

    public String getQuestionTwoNumD() {
        return questionTwoNumD;
    }

    public void setQuestionTwoNumD(String questionTwoNumD) {
        this.questionTwoNumD = questionTwoNumD;
    }

    public String getQuestionTwoTypeE() {
        return questionTwoTypeE;
    }

    public void setQuestionTwoTypeE(String questionTwoTypeE) {
        this.questionTwoTypeE = questionTwoTypeE;
    }

    public String getQuestionTwoNumE() {
        return questionTwoNumE;
    }

    public void setQuestionTwoNumE(String questionTwoNumE) {
        this.questionTwoNumE = questionTwoNumE;
    }

    public String getQuestionTwoTypeG() {
        return questionTwoTypeG;
    }

    public void setQuestionTwoTypeG(String questionTwoTypeG) {
        this.questionTwoTypeG = questionTwoTypeG;
    }

    public String getQuestionTwoNumG() {
        return questionTwoNumG;
    }

    public void setQuestionTwoNumG(String questionTwoNumG) {
        this.questionTwoNumG = questionTwoNumG;
    }

    public String getQuestionTwoImageUrlA() {
        return questionTwoImageUrlA;
    }

    public void setQuestionTwoImageUrlA(String questionTwoImageUrlA) {
        this.questionTwoImageUrlA = questionTwoImageUrlA;
    }

    public String getQuestionTwoImageUrlA2() {
        return questionTwoImageUrlA2;
    }

    public void setQuestionTwoImageUrlA2(String questionTwoImageUrlA2) {
        this.questionTwoImageUrlA2 = questionTwoImageUrlA2;
    }

    public String getQuestionTwoImageUrlA3() {
        return questionTwoImageUrlA3;
    }

    public void setQuestionTwoImageUrlA3(String questionTwoImageUrlA3) {
        this.questionTwoImageUrlA3 = questionTwoImageUrlA3;
    }

    public String getQuestionTwoImageUrlB() {
        return questionTwoImageUrlB;
    }

    public void setQuestionTwoImageUrlB(String questionTwoImageUrlB) {
        this.questionTwoImageUrlB = questionTwoImageUrlB;
    }

    public String getQuestionTwoImageUrlC() {
        return questionTwoImageUrlC;
    }

    public void setQuestionTwoImageUrlC(String questionTwoImageUrlC) {
        this.questionTwoImageUrlC = questionTwoImageUrlC;
    }

    public String getQuestionTwoImageUrlD() {
        return questionTwoImageUrlD;
    }

    public void setQuestionTwoImageUrlD(String questionTwoImageUrlD) {
        this.questionTwoImageUrlD = questionTwoImageUrlD;
    }

    public String getQuestionTwoImageUrlE() {
        return questionTwoImageUrlE;
    }

    public void setQuestionTwoImageUrlE(String questionTwoImageUrlE) {
        this.questionTwoImageUrlE = questionTwoImageUrlE;
    }


    @OneToOne(mappedBy = "questionTwo")
    public DepartmentInfo getDepartmentInfo() {
        return departmentInfo;
    }

    public void setDepartmentInfo(DepartmentInfo departmentInfo) {
        this.departmentInfo = departmentInfo;
    }

    public String getQuestionTwoImageUrlB2() {
        return questionTwoImageUrlB2;
    }

    public void setQuestionTwoImageUrlB2(String questionTwoImageUrlB2) {
        this.questionTwoImageUrlB2 = questionTwoImageUrlB2;
    }

    public String getQuestionTwoImageUrlB3() {
        return questionTwoImageUrlB3;
    }

    public void setQuestionTwoImageUrlB3(String questionTwoImageUrlB3) {
        this.questionTwoImageUrlB3 = questionTwoImageUrlB3;
    }

    public String getQuestionTwoImageUrlC2() {
        return questionTwoImageUrlC2;
    }

    public void setQuestionTwoImageUrlC2(String questionTwoImageUrlC2) {
        this.questionTwoImageUrlC2 = questionTwoImageUrlC2;
    }

    public String getQuestionTwoImageUrlC3() {
        return questionTwoImageUrlC3;
    }

    public void setQuestionTwoImageUrlC3(String questionTwoImageUrlC3) {
        this.questionTwoImageUrlC3 = questionTwoImageUrlC3;
    }

    public String getQuestionTwoImageUrlD2() {
        return questionTwoImageUrlD2;
    }

    public void setQuestionTwoImageUrlD2(String questionTwoImageUrlD2) {
        this.questionTwoImageUrlD2 = questionTwoImageUrlD2;
    }

    public String getQuestionTwoImageUrlD3() {
        return questionTwoImageUrlD3;
    }

    public void setQuestionTwoImageUrlD3(String questionTwoImageUrlD3) {
        this.questionTwoImageUrlD3 = questionTwoImageUrlD3;
    }

    public String getQuestionTwoImageUrlE2() {
        return questionTwoImageUrlE2;
    }

    public void setQuestionTwoImageUrlE2(String questionTwoImageUrlE2) {
        this.questionTwoImageUrlE2 = questionTwoImageUrlE2;
    }

    public String getQuestionTwoImageUrlE3() {
        return questionTwoImageUrlE3;
    }

    public void setQuestionTwoImageUrlE3(String questionTwoImageUrlE3) {
        this.questionTwoImageUrlE3 = questionTwoImageUrlE3;
    }

    public String getQuestionTwoImageUrlG() {
        return questionTwoImageUrlG;
    }

    public void setQuestionTwoImageUrlG(String questionTwoImageUrlG) {
        this.questionTwoImageUrlG = questionTwoImageUrlG;
    }

    public String getQuestionTwoImageUrlG2() {
        return questionTwoImageUrlG2;
    }

    public void setQuestionTwoImageUrlG2(String questionTwoImageUrlG2) {
        this.questionTwoImageUrlG2 = questionTwoImageUrlG2;
    }

    public String getQuestionTwoImageUrlG3() {
        return questionTwoImageUrlG3;
    }

    public void setQuestionTwoImageUrlG3(String questionTwoImageUrlG3) {
        this.questionTwoImageUrlG3 = questionTwoImageUrlG3;
    }

    public String getQuestionTenAnswerImageUrl() {
        return questionTenAnswerImageUrl;
    }

    public void setQuestionTenAnswerImageUrl(String questionTenAnswerImageUrl) {
        this.questionTenAnswerImageUrl = questionTenAnswerImageUrl;
    }

    public String getQuestionTenAnswerImageUrl2() {
        return questionTenAnswerImageUrl2;
    }

    public void setQuestionTenAnswerImageUrl2(String questionTenAnswerImageUrl2) {
        this.questionTenAnswerImageUrl2 = questionTenAnswerImageUrl2;
    }

    public String getQuestionTenAnswerImageUrl3() {
        return questionTenAnswerImageUrl3;
    }

    public void setQuestionTenAnswerImageUrl3(String questionTenAnswerImageUrl3) {
        this.questionTenAnswerImageUrl3 = questionTenAnswerImageUrl3;
    }

    public String getQuestionElevenAnswerImageUrl() {
        return questionElevenAnswerImageUrl;
    }

    public void setQuestionElevenAnswerImageUrl(String questionElevenAnswerImageUrl) {
        this.questionElevenAnswerImageUrl = questionElevenAnswerImageUrl;
    }

    public String getQuestionElevenAnswerImageUrl2() {
        return questionElevenAnswerImageUrl2;
    }

    public void setQuestionElevenAnswerImageUrl2(String questionElevenAnswerImageUrl2) {
        this.questionElevenAnswerImageUrl2 = questionElevenAnswerImageUrl2;
    }

    public String getQuestionElevenAnswerImageUrl3() {
        return questionElevenAnswerImageUrl3;
    }

    public void setQuestionElevenAnswerImageUrl3(String questionElevenAnswerImageUrl3) {
        this.questionElevenAnswerImageUrl3 = questionElevenAnswerImageUrl3;
    }

    public String getQuestionTenAnswer() {
        return questionTenAnswer;
    }

    public void setQuestionTenAnswer(String questionTenAnswer) {
        this.questionTenAnswer = questionTenAnswer;
    }

    public String getQuestionElevenAnswer() {
        return questionElevenAnswer;
    }

    public void setQuestionElevenAnswer(String questionElevenAnswer) {
        this.questionElevenAnswer = questionElevenAnswer;
    }

    public String getQuestionFourOneAnswer() {
        return questionFourOneAnswer;
    }

    public void setQuestionFourOneAnswer(String questionFourOneAnswer) {
        this.questionFourOneAnswer = questionFourOneAnswer;
    }

    public String getQuestionFourOnePicture() {
        return questionFourOnePicture;
    }

    public void setQuestionFourOnePicture(String questionFourOnePicture) {
        this.questionFourOnePicture = questionFourOnePicture;
    }

    public String getQuestionFourOnePicture2() {
        return questionFourOnePicture2;
    }

    public void setQuestionFourOnePicture2(String questionFourOnePicture2) {
        this.questionFourOnePicture2 = questionFourOnePicture2;
    }

    public String getQuestionFourOnePicture3() {
        return questionFourOnePicture3;
    }

    public void setQuestionFourOnePicture3(String questionFourOnePicture3) {
        this.questionFourOnePicture3 = questionFourOnePicture3;
    }

    public String getQuestionFourOneAnswerA() {
        return questionFourOneAnswerA;
    }

    public void setQuestionFourOneAnswerA(String questionFourOneAnswerA) {
        this.questionFourOneAnswerA = questionFourOneAnswerA;
    }

    public String getQuestionFourOneAnswerANum() {
        return questionFourOneAnswerANum;
    }

    public void setQuestionFourOneAnswerANum(String questionFourOneAnswerANum) {
        this.questionFourOneAnswerANum = questionFourOneAnswerANum;
    }

    public String getQuestionFourOneAnswerB() {
        return questionFourOneAnswerB;
    }

    public void setQuestionFourOneAnswerB(String questionFourOneAnswerB) {
        this.questionFourOneAnswerB = questionFourOneAnswerB;
    }

    public String getQuestionFourOneAnswerBNum() {
        return questionFourOneAnswerBNum;
    }

    public void setQuestionFourOneAnswerBNum(String questionFourOneAnswerBNum) {
        this.questionFourOneAnswerBNum = questionFourOneAnswerBNum;
    }

    public String getQuestionFourOneAnswerC() {
        return questionFourOneAnswerC;
    }

    public void setQuestionFourOneAnswerC(String questionFourOneAnswerC) {
        this.questionFourOneAnswerC = questionFourOneAnswerC;
    }

    public String getQuestionFourOneAnswerD() {
        return questionFourOneAnswerD;
    }

    public void setQuestionFourOneAnswerD(String questionFourOneAnswerD) {
        this.questionFourOneAnswerD = questionFourOneAnswerD;
    }

    public String getQuestionFourOnePicture4() {
        return questionFourOnePicture4;
    }

    public void setQuestionFourOnePicture4(String questionFourOnePicture4) {
        this.questionFourOnePicture4 = questionFourOnePicture4;
    }

    public String getCanUserDepartmentAnswer() {
        return canUserDepartmentAnswer;
    }

    public void setCanUserDepartmentAnswer(String canUserDepartmentAnswer) {
        this.canUserDepartmentAnswer = canUserDepartmentAnswer;
    }

    public String getCanUserDepartmentImage1() {
        return canUserDepartmentImage1;
    }

    public void setCanUserDepartmentImage1(String canUserDepartmentImage1) {
        this.canUserDepartmentImage1 = canUserDepartmentImage1;
    }

    public String getCanUserDepartmentImage2() {
        return canUserDepartmentImage2;
    }

    public void setCanUserDepartmentImage2(String canUserDepartmentImage2) {
        this.canUserDepartmentImage2 = canUserDepartmentImage2;
    }

    public String getCanUserDepartmentInfo() {
        return canUserDepartmentInfo;
    }

    public void setCanUserDepartmentInfo(String canUserDepartmentInfo) {
        this.canUserDepartmentInfo = canUserDepartmentInfo;
    }
}
